<?php

namespace Tests\Feature;

use Tests\TestCase;

class UserControllerTest extends TestCase
{

  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\User';
    self::$table = 'users';
    self::$searchExpr = 'email=[lk]barry';
    self::$searchRecord = ['email', '=', 'barry.allen@ccpd.com'];
    self::$toIns = [
      'name' => 'Nora Allen',
      'email' => 'nora.westallen@ccpd.com',
      'password' => 'iamexcess',
    ];
    self::$searchToUpd = ['email', '=', 'nora.westallen@ccpd.com'];
    self::$toUpd = ['name' => 'Nora Allen updated'];
    self::$searchToDel = ['email', '=', 'nora.westallen@ccpd.com'];
  }
}
